package net.zjitc.dao.Product;

import net.zjitc.damain.Product.Product;
import net.zjitc.damain.category.Category;

import java.util.List;

/**
 * Created by 95729 on 2017/3/21.
 */
public interface ProductDao {

    List<Product> findAll();

    Product findById(Integer pid);

    void Delete(Product product);

    void edit(Category model);

    void save(Product model);

    List<Product> findHotProductu(int i);

    List<Product> findNewProductu(int i);
}
